package pl.icn.hurtownia.mappings.converters;

import javax.xml.datatype.XMLGregorianCalendar;

import org.dozer.DozerConverter;

/**
 * Gloalny konwerter dat typu XMLGregorianCalendar
 *
 */
public class XMLGregorianCalendarConverter extends DozerConverter<javax.xml.datatype.XMLGregorianCalendar, javax.xml.datatype.XMLGregorianCalendar> {
	
	public static final String NAME = "xmlGregorianCalendarConverter";
	
	/**
	 * Tworzy nową instancję typu <code>DateCustomConverter</code>.
	 * 
	 * @param prototypeA
	 * @param prototypeB
	 */
	public XMLGregorianCalendarConverter() {
		super(javax.xml.datatype.XMLGregorianCalendar.class, javax.xml.datatype.XMLGregorianCalendar.class);
	}

	@Override
	public XMLGregorianCalendar convertTo(XMLGregorianCalendar source, XMLGregorianCalendar destination) {
		destination = source;
		return destination;
	}
	
	@Override
	public XMLGregorianCalendar convertFrom(XMLGregorianCalendar source, XMLGregorianCalendar destination) {
		destination = source;
		return destination;
	}
	
}
